package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户dlb流水表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name = "user_dlb_record")
public class UserDlbRecordInfo extends BaseEntity {
	/*
	  `user_id` varchar(64) DEFAULT NULL COMMENT '用户id',
	  `source` char(1) DEFAULT NULL COMMENT '来源(1阅读，2邀请，3注册，4提现，5充值，6抽成，7被抽成，0其他)',
	  `source_desc` varchar(255) DEFAULT NULL COMMENT '来源描述',
	  `dlb_number` decimal(10,3) DEFAULT NULL COMMENT 'dlb数量',
	  `dlb_type` char(1) DEFAULT '0' COMMENT '类型(1增加，2减少)',
	 */
	
	private static final long serialVersionUID = 1L;
	private String userId;			// 用户id
	private String source;			// 来源(1阅读，2邀请，3注册，4提现，5充值，6抽成，7被抽成，0其他)
	private String sourceDesc;		// 来源描述
	private Double dlbNumber;     	// dlb数量
	private String dlbType;     	// 类型(1增加，2减少)

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getSourceDesc() {
		return sourceDesc;
	}

	public void setSourceDesc(String sourceDesc) {
		this.sourceDesc = sourceDesc;
	}

	public Double getDlbNumber() {
		return dlbNumber;
	}

	public void setDlbNumber(Double dlbNumber) {
		this.dlbNumber = dlbNumber;
	}

	public String getDlbType() {
		return dlbType;
	}

	public void setDlbType(String dlbType) {
		this.dlbType = dlbType;
	}
}